package org.as3lib.data
{
	/**
	 * A type capable of generating an xml equivelant of itself.
	 */
	public interface IXMLGenerator
	{
		/** Returns the XML equivelant of itself. */
		function toXML():XML;
		/** Returns the XML equivelant of itself as a string. */
		function toXMLString():String;
	}
}